/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.colswe.solestac.bean;

import java.util.List;
import org.colswe.solestac.VO.RoleVO;
import org.colswe.solestac.control.AdministrationControl;
import org.colswe.solestac.control.RequestControl;
import org.colswe.solestac.control.StudentControl;

/**
 *
 * @author julianDavidPG
 */
public class HelperBean {
    
    private List<RoleVO> roles;
    
    private List<String> programs;
    
    private List<String> requestTypes;
    
    private List<String> instances;
    
    private List<String> decisions;

    /**
     * Creates a new instance of HelperBean
     */
    public HelperBean() {
        RequestControl rc = new RequestControl();
        roles = new AdministrationControl().getAllRoles();
        programs = new StudentControl().getAllPrograms();
        requestTypes = rc.getAllRequestTypes();
        instances = rc.getAllInstances();
        decisions = rc.getAllDecisions();
    }

    //<editor-fold defaultstate="collapsed" desc="getters and setters">
    public List<String> getPrograms() {
        return programs;
    }
    
    public void setPrograms(List<String> programs) {
        this.programs = programs;
    }

    public List<String> getDecisions() {
        return decisions;
    }

    public void setDecisions(List<String> decisions) {
        this.decisions = decisions;
    }

    public List<String> getInstances() {
        return instances;
    }

    public void setInstances(List<String> instances) {
        this.instances = instances;
    }
    
    public List<String> getRequestTypes() {
        return requestTypes;
    }
    
    public void setRequestTypes(List<String> requestTypes) {
        this.requestTypes = requestTypes;
    }
    
    public List<RoleVO> getRoles() {
        return roles;
    }
    
    public void setRoles(List<RoleVO> roles) {
        this.roles = roles;
    }
    //</editor-fold>
}
